package com.example.kotlin_smart_park

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.Button
import android.widget.TextView

class SplashActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_splash)
        findViewById<TextView>(R.id.jump).setOnClickListener {
            startActivity(Intent(this,WelcomeActivity::class.java))
        }
        findViewById<Button>(R.id.try_it_now).setOnClickListener {
            startActivity(Intent(this,WelcomeActivity::class.java))
        }
    }
}